/**
 * 
 */
package com.ginger.zookeeper;

import java.util.List;

import org.apache.zookeeper.AsyncCallback.Children2Callback;
import org.apache.zookeeper.data.Stat;

/**
 * @Description: TODO(用一句话描述该文件做什么) 
 * @author 姜锋
 * @date 2018年9月2日 下午6:08:20 
 * @version V1.0   
 *
 */
public class Childrean2Callback implements Children2Callback {

	
	@Override
	public void processResult(int rc, String path, Object ctx, List<String> children, Stat stat) {
		for (String sss : children) {
			System.out.println(sss);
		}
		System.out.println("ChildrenCallback"+path);
		System.out.println((String)ctx);
		System.out.println(stat.toString());
		
	}
	
	
}
